package com.iran.mediator;

public class ConcreteColleague2 extends Colleague {
    public ConcreteColleague2(Mediator mediator) {
        super(mediator);
    }

    public void send(String message){
        mediator.send(message,this);
    }
    public void notify(String message){
        System.out.println("同事2收到了消息:"+message);
    }
}
